FROM deis/builder:v1.8.0

ADD ./slugbuilder/Dockerfile /usr/local/src/slugbuilder/Dockerfile
ADD ./slugbuilder/builder/install-buildpacks /usr/local/src/slugbuilder/builder/install-buildpacks
ADD ./slugrunner/Dockerfile /usr/local/src/slugrunner/Dockerfile

RUN chmod +x /usr/local/src/slugbuilder/builder/install-buildpacks